package com.jiu.http.webqq;

import java.util.Random;

public class QQSession {
	private long   clientId = new Random().nextInt(80000000)+10000000;
	private String sessionId;
	private String vfwebqq;
	private String ptwebqq;
	private String hash;
	private String webqqcookie;
	private String check_sigURL;
	private String psessionid;
	private volatile State  state;
	
	public enum State{ 
		OFFLINE,
		ONLINE,
		KICKED,
		LOGINING,
		ERROR
	}

	public long getClientId() {
		return clientId;
	}

	public void setClientId(long clientId) {
		this.clientId = clientId;
	}

	public String getSessionId() {
		return sessionId;
	}

	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}

	public String getVfwebqq() {
		return vfwebqq;
	}

	public void setVfwebqq(String vfwebqq) {
		this.vfwebqq = vfwebqq;
	}



	public State getState() {
		return state;
	}
	
	public void setState(State state) {
		this.state = state;
	}

	public String getPtwebqq() {
		return ptwebqq;
	}

	public void setPtwebqq(String ptwebqq) {
		this.ptwebqq = ptwebqq;
	}

	public String getHash() {
		return hash;
	}

	public void setHash(String hash) {
		this.hash = hash;
	}

	public String getWebqqcookie() {
		return webqqcookie;
	}

	public void setWebqqcookie(String webqqcookie) {
		this.webqqcookie = webqqcookie;
	}

	public String getCheck_sigURL() {
		return check_sigURL;
	}

	public void setCheck_sigURL(String check_sigURL) {
		this.check_sigURL = check_sigURL;
	}

	public String getPsessionid() {
		return psessionid;
	}

	public void setPsessionid(String psessionid) {
		this.psessionid = psessionid;
	}

}
